<template>
  <div class="home">
    <div>
      <div class="title">欢迎使用{{ name }}</div>
      <el-image class="home-welcome" :src="require('/src/assets/img/home3.png')"></el-image>
    </div>
    <el-image class="shu-welcome1" :src="require('/src/assets/img/home1.png')"></el-image>
    <el-image class="shu-welcome2" :src="require('/src/assets/img/home2.png')"></el-image>
  </div>
</template>

<script>
export default {
  name: "dashboard",
  data () { 
    return {
      name: JSON.parse(localStorage.getItem("bussines_info")).platformName
    }
  },
  components: {},
  computed: {
    role () {
      return this.name === "admin" ? "超级管理员" : "普通用户";
    },
  },
  watch: {},
  mounted () { },
  methods: {},
};
</script>
<style lang="scss" scoped>
.home {
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 22px;
  .title {
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #326CF0;
    font-size: 24px;
    line-height: 33px;
  }
  .home-welcome {
    margin-top: 20%;
    margin-left: -50px;
  }
  .shu-welcome1 {
    position: fixed;
    bottom: 0;
    right: 0;
  }
  .shu-welcome2 {
    position: fixed;
    bottom: 0;
    left: calc(14% - 19px);
    z-index: 2;
  }
}
</style>
